import request from '@/utils/request'

// 单线路直线图
export function getRouteInfo(query={}) {
  return request({
    url: 'dispatch/line/getRouteInfo',
    method: 'get',
    params: query
  })
}
// 控制台直线图
export function getConsoleInfo(query={}) {
  return request({
    url: 'dispatch/line/getConsoleInfo',
    method: 'get',
    params: query
  })
}
//查询趟次列表
export function getItineraryList(query={}) {
  return request({
    url: '/dispatch/line/getTripList',
    method: 'get',
    params: query
  })
}
//运营时刻表
export function getTimetableList(query={}) {
  return request({
    url: '/dispatch/line/getTimetableList',
    method: 'get',
    params: query
  })
}

//查询非运营时刻表
export function getNonOperationList(query={}) {
  return request({
    url: '/dispatch/line/getNonOperationList',
    method: 'get',
    params: query
  })
}
//司机考勤明细
export function getDriverSignList(query={}) {
  return request({
    url: '/dispatch/line/getDriverSignList',
    method: 'get',
    params: query
  })
}
//调度申请
export function getRequestList(query={}) {
  return request({
    url: '/dispatch/line/getRequestList',
    method: 'get',
    params: query
  })
}
//调度设置
export function changeOperation(query={}) {
  return request({
    url: '/dispatch/line/changeOperation',
    method: 'get',
    params: query
  })
}
//切换线路
export function changeRoute(query={}) {
  return request({
    url: '/dispatch/line/changeRoute',
    method: 'get',
    params: query
  })
}




